package org.hackystat.ui.telemetryviewer.gwt.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * Provides asynchronous client remote service for the server-hosted chart generator.
 *
 * @author Pavel Senin.
 *
 */
public interface ChartServiceRPCAsync {
  /**
   * Reports the URL for the generated chart asynchronously.
   *
   * @param chartQuery the parameter which identifies the chart type.
   * @param callback the callback event handler.
   */
  public void generateChart(String chartQuery, AsyncCallback callback);
}
